package org.csy.work.entity;

/**
 * 商品类型表
 * @author ZJL
 * @date 2024-11-26
 */
public class ProductType {
    /**
     * 商品分类编号
     */
   private int  typeId;
    /**
     * 商品分类名称
     */
   private String typeName;
    /**
     * 父分类编号
     */
   private int parentId;
   public ProductType(){

   }

    public ProductType(int typeId, String typeName, int parentId) {
        this.typeId = typeId;
        this.typeName = typeName;
        this.parentId = parentId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "ProductType{" +
                "typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", parentId=" + parentId +
                '}';
    }
}
